package com.zj.sa_token.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zj.sa_token.entity.UserInfoEntity;
import com.zj.sa_token.service.UserInfoService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author li
 * @date 2024-01-12 11:03:58
 *
 * @description 
 */
@Component
@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfoEntity> {

    /**
     * @param username
     * @return
     */
    UserInfoEntity getUserInfoByUserName(@Param("username") String username);

    List<Map> getUserInfoByUserNameList(String userName);
}

